\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{ref}
